<!DOCTYPE html>
<html lang="en" xmlns:v-bind="http://www.w3.org/1999/xhtml" xmlns="http://www.w3.org/1999/html">
<head>
    <meta charset="UTF-8">
    <title>vue的V-bind</title>
    <script src="js/vuejs-2.5.16.js"></script>

</head>
<body>
<div id="app">
    <a v-bind:href="url1">有本事就点我</a></br>
    <a :href="url2">有本事就点我</a>
</div>
<script type="text/javascript">
    new Vue({
       el:"#app",
       data:{
           url1:"https://www.zhhbqg.com/21744_21744048/17997150.html",
           url2:"https://blog.csdn.net/m0_60092917/article/details/118880821"
       }
    });
</script>

</body>
</html>